package com.logic.landseaserver.service.bill;

import java.util.List;

import com.logic.landseaserver.domain.BillDetail;
import com.logic.landseaserver.domain.MonthlyBill;

/**
 * Created by Junny on 2017/7/4.
 * 月账单其他费项
 */
public class MonthFeeBillFactory implements BillFactory{

    private List<MonthlyBill> monthlyBills;

    public MonthFeeBillFactory(List<MonthlyBill> monthlyBills){
        this.monthlyBills = monthlyBills;
    }
    @Override
    public BillDetail createBill() {
        return null;
    }

   /* @Override
    public List<BillDetail> createBills() {
        List<BillDetail>  billDetails = new ArrayList<>();
        for(MonthlyBill monthlyBill:this.monthlyBills){
            BillDetail billDetail = new BillDetail();
            billDetail.setType(BillTypeEnum.CTBI9.getCode());
            billDetail.setDateBegin(monthlyBill.getStartTime());
            billDetail.setDateEnd(monthlyBill.getEndTime());
            billDetail.setMoney(monthlyBill.getBillPrice());
            billDetails.add(billDetail);
        }
        return billDetails;
    }*/
}
